﻿<?xml version="1.0" encoding="utf-8" ?> 
<!-- TODO: Pasar la estructura a validacion por esquemas -->
<Objects version="1.0.0.0">
	<SexType IDType="Byte" alias="S" abreviatureMember="Abreviature" nameMember="Name">
		<Abreviature type="string" maxLength="3" minLength="2" required="true" />
		<Name type="string" maxLength="15" minLength="3" required="true" />
	</SexType>
	<IdentificationType IDType="Byte" alias="IT" abreviatureMember="Abreviature" nameMember="Name">
		<Abreviature type="string" maxLength="3" minLength="2" required="true" />
		<Name type="string" maxLength="30" minLength="6" required="true" />
	</IdentificationType>
	<Identification IDType="UInt64" alias="I">
		<IdentificationType required="true" alias="IT" />
		<Number type="string" maxLength="17" />
		<Rules>
			<Unique name="Identification" members="IdentificationType, Number" />
		</Rules>
	</Identification>
	<Identifications isArray="true" type="Identification" alias="Idents">
	</Identifications>
	<User IDType="UInt64" alias="U">
		<Identifications required="true" alias="Is" />
		<FirstName type="string" maxLength="30" minLength="3" required="true" />
		<SecondName type="string" maxLength="30" minLength="3" />
		<FirstLastName type="string" maxLength="30" minLength="3" required="true" />
		<SecondLastName type="string" maxLength="30" minLength="3" />
		<Email type="string" maxLength="150" regExType="Email" />
		<SexType required="true" alias="ST" />
	</User>
</Objects>